/* creat file based on local file system, we just need to change here when we transplant it on Hadoop file system*/
void creat_file(char *filename)
{
	int fd;

	fd = creat(filename, S_IRWXU);
	if (-1 == fd) {
		printf("Fail to creat file on local file system!\n");
		exit(1);
	} else
		print("Creat file successfully!\n");

	close(fd);
}
